package br.com.revolution.manager;

import br.com.revolution.command.Mp3TagEditorRevolutionCommand;
import br.com.revolution.command.RevolutionCommand;
import br.com.revolution.dto.ReturnExecutionDTO;
import br.com.revolution.dto.RevolutionDTO;

public class RevolutionManager {
	
	private static RevolutionManager instance = null;
	
	private RevolutionManager() {
	}

	public static RevolutionManager getInstance() {
		if (instance == null) {
			instance = new RevolutionManager();
		}
		
		return instance;
	}

	public ReturnExecutionDTO editMp3Tag(RevolutionDTO dto) {
		RevolutionCommand command = new Mp3TagEditorRevolutionCommand(); 
		return command.execute(dto);
	}
	
}
